﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ProcessAnalyzerApplication
{
    public partial class PopUpTextBox : Form
    {
        public PopUpTextBox()
        {
            InitializeComponent();
        }

        public string ShowDialog()
        {
            base.ShowDialog();
            try
            {
                return textBox1.Text.ToString();
            }
            catch 
            {
                return string.Empty;
            }
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}
